<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    
    <style>
        * {
          margin: 0;
          padding: 0;
        }
  
        #container {
          width: 100vw;
          height: 100vh;
        }
      </style>
    <script
      type="text/javascript"
      src="https://api.map.baidu.com/api?v=1.0&&type=webgl&ak=gGGlllfQ1UcvvE4IHOmE9K2WMjX54GVP"></script>
  </head>
  <body>
    <div id="container"></div> 

    <script>
        var map = new BMapGL.Map("container");
        var point = new BMapGL.Point(116.404, 39.915);
        map.centerAndZoom(point, 15); 
    </script>
  </body>
</html>
